<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue'
import ArticleList from './components/ArticleList.vue'
import { ref } from 'vue'
</script>

<template>
  <!-- 1. 父传子， 传递参数  2. 子传父，注册事件 -->
  <ChannelNav></ChannelNav>
  <ArticleList></ArticleList>
  <!-- 路由出口 -->
  <router-view></router-view>
</template>
